<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
  google.load("visualization", "1");
</script>
<script type="text/javascript" src="/js/spreadsheetrenderer.js"></script>


<ul id="result"></ul>

<script type="text/javascript">
//template.addWindowEvent('load', function() {
    alert("hoge");
  var renderer = new SpreadsheetRenderer({
    key: 'tjGUo14k5R2HZE75h5MtPXA',
    template:'<li>%県コード% : %1%</li>' });
  renderer.render('select * limit 5', 'result');
//});
</script>

hoge